﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>无标题页</title>
    <script src="../js/jquery-1.4.2.min.js" type="text/javascript"></script>

    <script src="../js/jquery.dukeyselect.js" type="text/javascript"></script>
    <script type="text/javascript">
    
    $(document).ready(function()
    {      	  
       var colObj = {"Items":[
				{"keytext":"北京市","keyvalue":"1","pid":"0","id":"1"},
				    {"keytext":"通州区","keyvalue":"2","pid":"1","id":"2"},
				        {"keytext":"马驹桥","keyvalue":"3","pid":"2","id":"3"},
				            {"keytext":"卢沟起","keyvalue":"9","pid":"3","id":"9"},
				                {"keytext":"aaa","keyvalue":"11","pid":"9","id":"11"},
				    {"keytext":"大兴区","keyvalue":"7","pid":"1","id":"7"},
				   
				{"keytext":"北京市","keyvalue":"4","pid":"2","id":"4"},
				{"keytext":"北a京市","keyvalue":"6","pid":"0","id":"6"},
				    {"keytext":"通a州区","keyvalue":"2","pid":"6","id":"8"},			
				    {"keytext":"g州区","keyvalue":"2","pid":"6","id":"10"}
			]};
	    $("#div1").dukeyselect(colObj,$("#hidid"),$("#Text1"));	   	
    });
    </script>
</head>
<body>
<div id="div1">

</div>
<input id="Text1" type="text" />
<input id="hidid" type="text" />
</body>
</html>
